home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4724 < prev    next >
Encoding:
Text File  |  1996-08-06  |  1.9 KB  |  45 lines

  1. Newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.lang.eiffel
  2. Path: barney.gvi.net!mv!usenet
  3. From: ENGR@GSSI.MV.COM (Michael Furman)
  4. Subject: Re: Undefined behavior? on type conversion, was: Re: Hungarian notation
  5. Message-ID: <DLrK1n.7Bs@mv.mv.com>
  6. Mime-Version: 1.0
  7. Organization: GSSI
  8. Date: Fri, 26 Jan 1996 00:58:35 GMT
  9. References: <30C40F77.53B5@swsbbs.com> <4d2ok0$69s@beach.and.nl> <KANZE.96Jan24152858@slsvewt.lts.sel.alcatel.de>
  10. X-Newsreader: WinVN 0.93.10
  11. X-Nntp-Posting-Host: gssi.mv.com
  12.  
  13. In article <KANZE.96Jan24152858@slsvewt.lts.sel.alcatel.de>, 
  14. kanze@lts.sel.alcatel.de says...
  15. > .... snip .....
  16. >
  17. >|> This requires an implementation to convert the integral type.  It does
  18. >|> not give it license to take actions not specified by the standard.
  19. >
  20. >Does it?  I believe that it was the intent of the authors that the
  21. >`result' of the conversion could be a signal (for example) or a core
  22. >dump.  (This is, of course, the only reasonable thing for an
  23. >implementation to do.)
  24.  
  25. And what would you suggest to do with low level C/C++ code (of cause non 
  26. portable) thet deals with internal representation of numbers? Deceive 
  27. compiler using casted pointers (like I had to do a long time ago on PL-1)?
  28.  
  29. >--
  30. >James Kanze         Tel.: (+33) 88 14 49 00        email: kanze@gabi-soft.fr
  31. >GABI Software, Sarl., 8 rue des Francs-Bourgeois, F-67000 Strasbourg, France
  32. >Conseils, Θtudes et rΘalisations en logiciel orientΘ objet --
  33. >                -- A la recherche d'une activitΘ dans une region francophone
  34. >
  35.  
  36. -- 
  37. <<<<<<<< This is a copy of post to the newsgroup >>>>>>>>
  38. ---------------------------------------------------------------
  39. Michael Furman,                       (603)893-1109
  40. Geophysical Survey Systems, Inc.  fax:(603)889-3984
  41. 13 Klein Drive - P.O. Box 97          engr@gssi.mv.com 
  42. North Salem, NH 03073-0097            71543.1334@compuserve.com
  43. ---------------------------------------------------------------
  44.  
  45.